package com.zyplayer.doc.data.repository.manage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zyplayer.doc.data.repository.manage.entity.base.TenantBaseWithCreation;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 用户组
 * </p>
 *
 * @author 暮光：城中城
 * @since 2021-02-08
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("user_group")
public class UserGroup extends TenantBaseWithCreation implements Serializable {

    /**
     * 主键自增ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 分组名
     */
    private String name;

    /**
     * 删除标记 0=正常 1=已删除
     */
    private Integer delFlag;
}
